[C#] Running elevated applications on user login with UAC?

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-04-13T22:14:44Z Indexed on 2010/04/13 23:03 UTC
Read the original article Hit count: 192

Filed under:
|
|

I need to start a program every time the user logs in, but I cannot do this without being met by a UAC dialog asking for permissions for that application. Is there any way to have an application start up on user login without the user having to answer the UAC prompt? I was thinking about running a service, but this would be a last resort. I saw something about an Application Compatibility Toolkit to disable UAC for certain applications, but I feel this is too big of a hassle - even services would be easier to program. I was just wondering if there is an even easier solution I am missing. Thanks in advance.

© Stack Overflow or respective owner

Related posts about c#

Related posts about startup